package com.open.capacity.study.service;

import com.open.capacity.common.exception.service.ServiceException;
import com.open.capacity.common.model.Stage;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;

import java.util.Map;

public interface StageService {
    Result insert(Stage stage) throws ServiceException;

    Result updateStatus(Map<String, Object> params) throws ServiceException;

    Result update(Stage stage) throws ServiceException;

    PageResult<Stage> findStage(Map<String, Object> params) throws ServiceException;

    Result download(Map<String, Object> params) throws ServiceException;
}
